-- msg_recharge_ok
-- Created by chengb Jul/8/2015
-- 通知充值成功

return function(lpc)
    local goodsId = lpc.goods_id;
    local price = lpc.price or 0;
    local currency = lpc.currency;
    local payChannel = lpc.pay_channel;
    local extraPara = {["price"] = price, ["currency"] = currency, ["pay_channel"] = payChannel, };

    trace("msg_recharge_ok", "goodsId = " .. goodsId);

    ChargeM.notifyRechargeResult(goodsId, lpc.detail_id, extraPara);
end
